<?php
namespace Api\Controller;
use Think\Controller;

class TestController extends Controller{

    public function sendsms(){
        $m = D("Sms");
        $m->send_sms('15858178714');
    }

    public function checksms(){
        $m = D('Sms');
        $check = $m->check_code('15858178714','982736');
        dump($check);
    }
}